package com.youlu.campus.entity.vote;

import com.youlu.campus.base.base.EntityBase;
import lombok.Data;
import org.springframework.data.mongodb.core.index.Indexed;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * @author : [dengbo]
 * @className : ProvinceConfigEntity
 * @description : [省份配置信息表]
 * @createTime : [2022/7/5 16:04]
 */
@Data
@Document(collection = "province_base")
public class ProvinceBaseEntity extends EntityBase {
    /**
     * 名称
     */
    @Indexed
    private String name;
    /**
     * 编码
     */
    @Indexed
    private String code;
    /**
     * 0 省份 1非省份/其他
     */
    private Integer type;
}
